import NewVue from '@/views/index/New.vue'; 
import NewsDetail from '@/views/index/NewsDetail.vue'; 
const NewChildren = [
  {
    path: '', 
    name: 'newVue',
    component: NewVue,
  },
  {
    path: 'newsDetail', 
    name: 'newsDetail',
    props: true, // 允许将路由参数作为 props 传递
    component: NewsDetail,
  },

];

export default NewChildren;